/* ===========================================
   GLOBAL RESET + BASE STYLES
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Poppins", sans-serif;
  color: #222;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --blue-dark: #0b1630;
  --blue: #4a60dd;
  --cyan: #00c6ff;
  --accent: #2d9aed;
  --light-bg: #f8faff;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* ===========================================
   HERO SECTION
=========================================== */
.hero {
  background: linear-gradient(90deg, #4a60dd 0%, #2a035a 100%);
  color: #fff;
  padding: 80px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  margin-bottom: -150px;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  line-height: 1.3;
  font-weight: 700;
}

.hero-text .highlight { color: #fff; }
.hero-text .elevate { color: var(--accent); }

.hero-text p {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #eaeaea;
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background-color: #9bb5ff;
  color: #222;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #fff;
  color: #4a60dd;
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

/* ===== MARQUEE STYLING ===== */
.marquee {
  width: 100%;
  background: linear-gradient(90deg, #000105, #315dff, #1e0368);
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: scroll-text 15s linear infinite;
}

/* Hover pause */
.marquee:hover span {
  animation-play-state: paused;
}

/* Animation keyframes */
@keyframes scroll-text {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ===========================================
   CLASSROOM SECTION
=========================================== */
/* ===========================================
   CLASSROOM SECTION
=========================================== */
.classroom-section {
  position: relative;
  padding: 80px 6%;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.classroom-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.classroom-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.classroom-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.classroom-text {
  flex: 1 1 500px;
  padding: 20px 0;
}

.classroom-text h2 {
  font-size: clamp(2rem, 2vw + 1rem, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #1a1a2e;
  letter-spacing: -0.5px;
}

.classroom-text h2 span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.classroom-text h2 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border-radius: 2px;
}

.classroom-text p {
  margin-top: 20px;
  font-size: clamp(1rem, 0.5vw + 0.9rem);
  line-height: 1.8;
  color: #4a5568;
  max-width: 600px;
  font-weight: 400;
}

.classroom-text p:first-of-type {
  font-weight: 500;
  color: #2d3748;
}

.learn-more {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.learn-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.learn-more:hover::before {
  left: 0;
}

.learn-more:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.classroom-image {
  position: relative;
  flex: 1 1 400px;
}

.classroom-image .media {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.classroom-image .media iframe,
.classroom-image .media video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.classroom-image .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--blue);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }

/* ===========================================
   VIDEO MODAL
=========================================== */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1000;
}

.video-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.video-wrapper {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  position: relative;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* Section 3 */
/* Events section */
/* ===== Events split pill (top half lives in .events) ===== */
.events {
  position: relative;
  overflow: hidden;
}

/* outer light-blue */
.events::before {
  content: "";
  position: absolute;
  left: -22%;
  top: -100px;             /* half outside the section */
  width: 700px;
  height: 200px;
  border-radius: 9999px;
  background: #eaf4ff;
  z-index: 0;
}
/* inner darker */
.events::after {
  content: "";
  position: absolute;
  left: -6%;
  top: -75px;              /* half outside the section */
  width: 400px;
  height: 150px;
  border-radius: 9999px;
  background: #c8d1ff;
  z-index: 0;
}

/* center everything inside the events section */
.events .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.events h2 { 
  margin: 0 0 8px;
  color: #007aff;
  font-size: 50px; 

  /* Animation base state */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* When visible */
.events h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.events .lead {
  max-width: 820px;
  margin: 12px auto 28px;
  line-height: 1.8;
  font-family: "Poppins", sans-serif;
  color: #555;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);

  /* Animation base state */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* When visible */
.events .lead.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Center the pill */
.pill-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 26px;
}

/* Pill styling */
.highlight-pill {
  padding: 8px 18px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}


/* ---------- Responsive tweaks ONLY for .events (top half) ---------- */
@media (max-width: 1200px) {
  .events::before {
    width: 560px;
    height: 200px;
    top: -100px;
    left: -120px;
  }

  .events::after {
    width: 360px;
    height: 150px;
    top: -75px;
    right: -100px;
  }
}

@media (max-width: 600px) {
  .events::before { width: 420px; height: 190px; top: -95px; }
  .events::after  { width: 300px; height: 140px; top: -70px; }
}


/* ===== Slider ===== */
.slider {
  position: relative;
  margin: 12px auto 24px;
  max-width: 880px;                 /* centered narrower width */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Hide radio inputs */
.slider > input {
  display: none;
}

/* Slides container */
.slides {
  display: flex;
  width: 300%;                      /* three slides total */
  transform: translateX(0);
  transition: transform 0.6s ease;
}

/* Each slide now holds ONE card only */
.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;          /* Center the single card */
  align-items: center;
  padding: 6px;
}

/* Card styling */
.card {
  position: relative;
  width: 100%;
  max-width: 800px;                 /* image width */
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 34, 87, 0.12);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: scale(1.02);
}

/* Image */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Shade overlay */
.card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.05));
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.card:hover .shade { opacity: 0.4; }

/* Card text content */
.card .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 12px;
  text-align: center;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.cta {
  background: #fff;
  color: #0d63ff;
  text-decoration: none;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}
.cta.outline {
  background: transparent;
  color: #fff;
  border: 1.6px solid #fff;
}

/* ----- dots: highlight 1..6 (you already have 6 labels in HTML) ----- */
.dots{
  display:flex; 
  justify-content:center; 
  gap:10px; 
  margin-top:14px;
}
.dots label{
  width:9px; 
  height:9px; 
  border-radius:50%; 
  background:#cdd6ef;
  cursor:pointer; 
  transition:transform .2s;
}
#ev-1:checked ~ .dots label:nth-child(1),
#ev-2:checked ~ .dots label:nth-child(2),
#ev-3:checked ~ .dots label:nth-child(3),
#ev-4:checked ~ .dots label:nth-child(4),
#ev-5:checked ~ .dots label:nth-child(5),
#ev-6:checked ~ .dots label:nth-child(6){
  background:#3b7cff; 
  transform:scale(1.2);
}

/* Arrows */
.arrows label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #1c2a66;
  display: none;                  /* hidden by default; we enable per state */
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 26px;
  user-select: none;
  z-index: 5;
}
.arrows .prev { left: 30px; }
.arrows .next { right: 30px; }

/* Show the correct arrow pair for EVERY slide (loops 1↔6) */
#ev-1:checked ~ .arrows .to-6,
#ev-1:checked ~ .arrows .to-2 { display: flex; }

#ev-2:checked ~ .arrows .when-2 { display: flex; }
#ev-3:checked ~ .arrows .when-3 { display: flex; }
#ev-4:checked ~ .arrows .when-4 { display: flex; }
#ev-5:checked ~ .arrows .when-5 { display: flex; }
#ev-6:checked ~ .arrows .when-6 { display: flex; }

/* Slide transitions for SIX slides */
#ev-1:checked ~ .slides { transform: translateX(  0%); }
#ev-2:checked ~ .slides { transform: translateX(-100%); }
#ev-3:checked ~ .slides { transform: translateX(-200%); }
#ev-4:checked ~ .slides { transform: translateX(-300%); }
#ev-5:checked ~ .slides { transform: translateX(-400%); }
#ev-6:checked ~ .slides { transform: translateX(-500%); }


/* Centered "More" button */
.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  background: linear-gradient(90deg, #3b7cff, #7a5af8);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(40, 72, 190, 0.2);
}

/* Responsive view */
@media (max-width: 992px) {
  .slider { max-width: 95%; }
  .card { width: 100%; aspect-ratio: 16 / 9; }
  /* Fix arrow visibility on mobile */
@media (max-width: 992px) {
  .arrows label { 
    display: flex !important;
    width: 38px; height: 38px;
    font-size: 20px;
  }
}

/* Fix slide width for 6 slides */
.slides { width: 600%; }

}


/* Bottom-right pill (two layers) */
.events .container::before,
.events .container::after{
  content:"";
  position:absolute;
  right:-22%;
  bottom:-95px;
  border-radius:9999px;
  z-index:0;            /* behind content */
}

/* outer light blue */
.events .container::before{
  width:500px;
  height:200px;
  background:#eaf4ff;
}

/* inner darker blue */
.events .container::after {
  content: "";
  position: absolute;
  right: -3;              /* Attach to the right */
  bottom: -70px;
  width: 400px;
  height: 150px;
  background: #c8d1ff;
  border-radius: 9999px;
}

/* responsive tweaks */
@media (max-width:1200px){
  .events .container::before{ right:-26%; bottom:-95px; width:560px; height:200px; }
  .events .container::after { right:-10%; bottom:-70px; width:360px; height:150px; }
}
@media (max-width:600px){
  .events .container::before{ right:-48%; bottom:-92px; width:420px; height:190px; }
  .events .container::after { right:-16%; bottom:-68px; width:300px; height:140px; }
    .arrows label { 
    display: flex !important;
    width: 38px; height: 38px;
    font-size: 20px;
  }

/* Fix slide width for 6 slides */
.slides { width: 600%; }

}


/*section 4*/
/*section 4*/
/* Section Styles */
.education-section {
  text-align: center;
  padding: 90px 20px;
  background: linear-gradient(180deg, #071359 0%, #a3b6ff 50%, #ffffff 100%);
}

/* ---------- Headings ---------- */
.heading h3 {
  color: #f5f6f8;
  font-size: 3.0rem;
  font-weight: 600;
  /* Animation base state */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.heading h3.visible {
  opacity: 1;
  transform: translateY(0);
}

.heading h2 {
  font-size: 2rem;
  color: #edecf1;
  font-weight: 700;
  margin-top: 5px;
  /* Animation base state */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.heading h2.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Cards Layout ---------- */
.cards-container {
  border-radius: 50px;
  border-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 80px 0;
}

/* ---------- Card ---------- */
.edu-card {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  cursor: pointer;
}

/* Removed hover effect on the card */
.edu-card:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Card Image ---------- */
.edu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Removed the hover effect on the image */
.edu-card img:hover {
  transform: scale(1);
}

/* ---------- Overlay Text ---------- */
.overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  color: #111;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 12px;
  opacity: 1; /* Make overlay text always visible */
  transition: none; /* No transition for the overlay */
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .edu-card {
    width: 90%;
    height: 280px;
  }
}

/* ---------- Description ---------- */
.description {
  font-size: 1.4rem;
  color: #f8f3f3;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}
/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1024px) {
  .cards-container {
    flex-wrap: wrap;       /* Allows cards to move to next line */
    gap: 30px;             /* Reduces the 150px gap for smaller screens */
    margin: 40px 0;
  }

  .heading h3 {
    font-size: 2.2rem;     /* Shrinks large heading */
  }
}

@media (max-width: 768px) {
  .education-section {
    padding: 50px 15px;    /* Reduces whitespace on mobile */
  }

  .cards-container {
    flex-direction: column; /* Stacks cards vertically */
    align-items: center;
    gap: 20px;
  }

  .edu-card {
    width: 280px;          /* Slightly narrows cards for small phones */
    height: 280px;
  }

  .heading h3 {
    font-size: 1.8rem;
  }

  .heading h2 {
    font-size: 1.4rem;
  }
}
/* -------------------------- */
/* Explore Course Section */
/* -------------------------- */
.explore-section {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #062c7e 0%, #fbfbfd 45%, #ffffff 100%);
  /* padding: 60px 0; */
}

.explore-header {
  text-align: center;
  margin: 0 auto 40px;
  padding: 0 8%;
}

.explore-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: rgb(39 23 116);
  padding: 10px;
}

.explore-header p {
  color: #ffffff;
  margin-top: 8px;
}

/* -------------------------- */
/* Course Rows */
/* -------------------------- */
.course-row {
  /*margin: 60px auto;*/
  padding: 80px 8%;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Odd rows (Blue gradient) */
.course-row:nth-child(odd) {
  background: linear-gradient(135deg, #0b1630 40%, #005fff 100%);
  color: #fff;
}

/* Even rows (White) */
.course-row:nth-child(even) {
  background: #ffffff;
  color: #222;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* -------------------------- */
/* Row Header */
/* -------------------------- */
.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.course-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.course-header .see-all {
  color: #00a2ff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------- */
/* Course Carousel */
/* -------------------------- */
.course-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  overflow: visible; /* allow cards to breathe on small screens */
}


/* -------------------------- */
/* Mini Cards (Books) */
/* -------------------------- */
.mini-cards {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: flex-end;
  perspective: 1000px;
}

.mini-card {
  width: 85px;
  height: 260px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: #555;
  transform-origin: bottom center;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.2),
              0 6px 20px rgba(0, 0, 0, 0.25);
  border-left: 4px solid rgba(255, 255, 255, 0.3);
}

/* Spine-like effect */
.mini-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px 0 0 10px;
}

/* Mini card colors */
.mini-card.orange { background: linear-gradient(180deg, #ff8a00, #f57c00); }
.mini-card.red { background: linear-gradient(180deg, #ff4b2b, #e53935); }
.mini-card.yellow { background: linear-gradient(180deg, #ffe57f, #fdd835); color: #333; }
.mini-card.lime { background: linear-gradient(180deg, #c5e1a5, #aed581); color: #333; }
.mini-card.teal { background: linear-gradient(180deg, #26c6da, #26a69a); }
.mini-card.green { background: linear-gradient(180deg, #81c784, #66bb6a); }

/* Hover lift */
.mini-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

/* -------------------------- */
/* Book Falling Animation */
/* -------------------------- */

/* Odd rows (books fall right) */
.course-row:nth-child(odd):hover .mini-card:nth-child(1) { transform: rotate(10deg); transition-delay: 0s; }
.course-row:nth-child(odd):hover .mini-card:nth-child(2) { transform: rotate(14deg); transition-delay: 0.05s; }
.course-row:nth-child(odd):hover .mini-card:nth-child(3) { transform: rotate(18deg); transition-delay: 0.1s; }
.course-row:nth-child(odd):hover .mini-card:nth-child(4) { transform: rotate(22deg); transition-delay: 0.15s; }
.course-row:nth-child(odd):hover .mini-card:nth-child(5) { transform: rotate(26deg); transition-delay: 0.2s; }
.course-row:nth-child(odd):hover .mini-card:nth-child(6) { transform: rotate(30deg); transition-delay: 0.25s; }

/* Even rows (books fall left) */
.course-row:nth-child(even):hover .mini-card:nth-child(1) { transform: rotate(-10deg); transition-delay: 0s; }
.course-row:nth-child(even):hover .mini-card:nth-child(2) { transform: rotate(-14deg); transition-delay: 0.05s; }
.course-row:nth-child(even):hover .mini-card:nth-child(3) { transform: rotate(-18deg); transition-delay: 0.1s; }
.course-row:nth-child(even):hover .mini-card:nth-child(4) { transform: rotate(-22deg); transition-delay: 0.15s; }
.course-row:nth-child(even):hover .mini-card:nth-child(5) { transform: rotate(-26deg); transition-delay: 0.2s; }
.course-row:nth-child(even):hover .mini-card:nth-child(6) { transform: rotate(-30deg); transition-delay: 0.25s; }

/* -------------------------- */
/* Main Course Card */
/* -------------------------- */
/* -------------------------- */
/* Main Course Card (Enlarged) */
/* -------------------------- */
.main-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  width: 460px; /* increased from 350px */
  transition: transform 0.3s ease;
  color: #222;
}

.main-card.outline {
  border: 2px solid #ff4d4d;
}

.main-card:hover {
  transform: translateY(-8px);
}

.main-card img {
  width: 130px; /* increased from 100px */
  height: 130px;
  border-radius: 18px;
  object-fit: cover;
}

.main-card .content h4 {
  font-size: 1.2rem; /* larger title */
  color: #222;
  margin-bottom: 10px;
}

.main-card .content p {
  font-size: 0.95rem; /* slightly larger description */
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.stars {
  color: #ffb400;
  font-size: 1rem;
  margin-bottom: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.explore-btn {
  background: none;
  border: 1.8px solid #007aff;
  color: #007aff;
  border-radius: 30px;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.explore-btn:hover {
  background: #007aff;
  color: #fff;
}

.price {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
}
/* -------------------------- */
/* Mini Card Borders Based on Row Theme */
/* -------------------------- */

/* Odd rows (blue background → white border) */
.course-row:nth-child(odd) .mini-card {
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.2),
              0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Even rows (white background → blue border) */
.course-row:nth-child(even) .mini-card {
  border: 2px solid rgba(0, 102, 255, 0.4);
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.15),
              0 6px 15px rgba(0, 0, 0, 0.15);
}

/* -------------------------- */
/* Main Card Border Based on Row Theme */
/* -------------------------- */

/* 1st, 3rd, etc. (gradient blue rows) → white border */
.course-row:nth-child(odd) .main-card {
  border: 2px solid #ffffff;
}

/* 2nd, 4th, etc. (white rows) → blue border */
.course-row:nth-child(even) .main-card {
  border: 2px solid #007aff;
}

/* Optional: enhance the hover effect */
.course-row:nth-child(odd) .main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.course-row:nth-child(even) .main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
}


/* ------------------------------- */
/* Contact Section */
/* ------------------------------- */
.contact-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 50px 0;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 90%;
  gap: 100px;
}

/* Left Illustration */
.contact-image {
  flex: 1.2; /* slightly increase flex ratio so image takes more space */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* push it slightly to the left side visually */
  transform: translateX(-40px); /* move left */
}

.contact-image img {
  width: 110%; /* increase size from 90% to 110% */
  max-width: 600px; /* allow a bigger max size */
  height: auto;
}


/* Right Form Section */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.get-touch-btn {
  background: linear-gradient(90deg, #4a60dd, #00c6ff);
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 12px 35px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.get-touch-btn:hover {
  opacity: 0.9;
}

.intro-text {
  font-size: 14px;
  color: #555;
  margin: 20px 0;
  max-width: 400px;
  line-height: 1.5;
}

/* Form */
form {
  width: 100%;
  max-width: 550px; /* Increased from 400px */
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px; /* Slightly more spacing */
}

label {
  font-weight: 500;
  font-size: 15px; /* Slightly bigger text */
  margin-bottom: 8px;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 16px 20px; /* Increased padding */
  border-radius: 30px; /* Slightly more rounded */
  border: 2px solid #b0e7ff; /* Thicker border for better visibility */
  outline: none;
  transition: all 0.3s ease;
  font-size: 15px; /* Bigger input text */
}

input:focus,
textarea:focus {
  border-color: #4a60dd;
  box-shadow: 0 0 8px rgba(74, 96, 221, 0.4);
}

/* Register Button */
.register-btn {
  background: #4a60dd;
  color: white;
  border: none;
  padding: 15px 60px; /* Increased button size */
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.register-btn:hover {
  background: #3c50c3;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-image img {
    width: 80%;
  }

  .contact-form {
    align-items: center;
  }

  form {
    max-width: 90%;
  }

  input,
  textarea {
    font-size: 14px;
    padding: 14px 18px;
  }
}
/* =========================
   EXPLORE COURSES – RESPONSIVE OVERRIDES
   (Place at the very end of Home.css)
   ========================= */

/* 1) Safer, fluid sizing */
.explore-header h2{ font-size: clamp(1.6rem, 1.2rem + 1.5vw, 3rem); }
.explore-header p{ font-size: clamp(.95rem, .85rem + .3vw, 1.05rem); }

/* Keep rows roomy but flexible */
.course-row{ padding: clamp(36px, 4vw, 80px) 6%; }

/* Layout: mini-cards + main-card side-by-side on wide screens */
.course-carousel{
  display: grid;
  grid-template-columns: 1fr minmax(340px, 520px);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

/* Mini-book cards: fluid size + no overflow */
.mini-cards{
  display: flex;
  gap: clamp(8px, 1.5vw, 14px);
  align-items: flex-end;
  flex-wrap: nowrap;
}
.mini-card{
  width: clamp(56px, 8vw, 90px);
  height: clamp(150px, 28vw, 260px);
  font-size: clamp(.7rem, .55rem + .3vw, .9rem);
}
/* mobile tilt mimic */
.mini-card.tilt {
  transform: rotateY(10deg) rotateX(-5deg) scale(1.05);
  transition: transform 0.4s ease;
}

/* Main card: fluid width, tighter spacing on small screens */
.main-card{
  width: 100%;
  max-width: 560px;
  padding: clamp(18px, 2.5vw, 30px);
  gap: clamp(12px, 2vw, 24px);
}
.main-card img{
  width: clamp(84px, 10vw, 130px);
  height: clamp(84px, 10vw, 130px);
  border-radius: 16px;
}
.main-card .content h4{ font-size: clamp(1.05rem, .9rem + .5vw, 1.25rem); }
.main-card .content p{ font-size: clamp(.9rem, .85rem + .3vw, 1rem); }

/* ----- Tablet (≤ 992px): stack, center, keep mini-cards readable ----- */
@media (max-width: 992px){
  .course-carousel{
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .mini-cards {
    width: 100%;
  
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    overflow: visible !important;
    transform-style: preserve-3d;
  }
  .mini-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}



/* ----- Mobile (≤ 680px): make mini-cards scrollable with snap ----- */
@media (max-width: 680px){
  .course-header{ margin-bottom: 14px; }
  .course-header h3{ font-size: 1rem; }

  .mini-cards {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .mini-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}

  .main-card{
    border-radius: 18px;
    padding: 16px;
  }
  .explore-btn{ padding: 8px 16px; }


/* ----- Very small phones (≤ 400px): compact everything ----- */
@media (max-width: 400px){
  .mini-card{ width: 56px; height: 130px; }
  .main-card img{ width: 72px; height: 72px; border-radius: 12px; }
  .main-card .content p{ line-height: 1.45; }
}

/* 2) Reduce dramatic hover tilts on touch devices (prevents layout jump) */
/* Re-enable tilt animation for mobile when JS adds .tilt */
@media (hover: none) {
  .mini-card.tilt {
    transform: scale(1.05) rotateY(8deg) rotateX(-3deg);
    transition: transform 0.4s ease;
  }
}

/* 3) Optional polish: add gentle shadow contrast per theme on mobile */
@media (max-width: 680px){
  .course-row:nth-child(odd) .main-card{ box-shadow: 0 10px 26px rgba(255,255,255,.12); }
  .course-row:nth-child(even) .main-card{ box-shadow: 0 10px 26px rgba(0,0,0,.10); }
}

/* 4) Safety fix: that 300% width image in classroom could overflow */
.classroom-image img,
.classroom-image iframe {
  width: 100%;
  max-width: 640px;
  height: auto;
}


@supports (-webkit-touch-callout: none) {
  .main-card img {
    max-width: 100%;
    height: auto;
  }
  .course-carousel {
    overflow: visible !important;
  }
}
/* --- Responsive Fix Overrides for Classroom Section --- */
.classroom-image img,
.classroom-image iframe {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.classroom-container {
  gap: clamp(40px, 8vw, 180px);
}

@media (max-width: 992px) {
  .classroom-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .classroom-text,
  .classroom-image {
    flex: 0 1 100%;
    max-width: 90%;
  }

  .classroom-text h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .classroom-text p {
    max-width: 640px;
    margin-inline: auto;
  }

  .corner {
    width: clamp(60px, 12vw, 150px);
    height: clamp(50px, 10vw, 120px);
  }

  .corner.top-left { top: -3%; left: -3%; }
  .corner.bottom-right { bottom: -3%; right: -3%; }

  .play-btn {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .classroom-section {
    padding: 72px 6%;
  }
  .classroom-text h2 { font-size: 1.4rem; }
  .classroom-text p { font-size: 0.95rem; }
}
/*======Pop-Up======*/

/* Particle Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none;                  /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.popup-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Main Circular Container */
.popup-circle {
  position: relative;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6B46C1 0%, #14B8A6 100%);
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 100px rgba(107, 70, 193, 0.3);
  animation: scaleIn 0.6s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  z-index: 2;
}

@keyframes scaleIn {
  from { transform: scale(0) rotate(-10deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Rotating Ring */
.rotating-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 3px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.3);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
  pointer-events: none;          /* click-through */
  z-index: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Clock Numbers around the edge */
.clock-numbers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.clock-number {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.9);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.close-btn:hover {
  background:#ff6b35;
  color:#000;
}

/* Urgency Badge */
.urgency-badge {
  position: absolute;
  top: 40px;
  right: 40px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Countdown Timer (your banner uses these classes too) */
.countdown-label {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.countdown-value {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: countPulse 1s infinite;
}

@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Center Content */
.popup-content {
  text-align: center;
  z-index: 10;
  width: 100%;
}

.popup-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.popup-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 500;
}

/* Form */
.popup-form {
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 16px 16px 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: white;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

/* Submit Button */
.submit-btn {
  margin-top: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #FF6B35 0%, #F72585 100%);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(247, 37, 133, 0.4);
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(247, 37, 133, 0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .popup-circle {
    width: 90vw;
    height: 90vw;
    max-width: 450px;
    max-height: 450px;
    padding: 40px;
  }

  .rotating-ring {
    width: calc(90vw + 20px);
    height: calc(90vw + 20px);
    max-width: 470px;
    max-height: 470px;
  }

  .popup-title { font-size: 24px; }
  .countdown-value { font-size: 22px; }

  .close-btn {
    top: -30px;
    right: -10px;
  }

  .urgency-badge { font-size: 10px; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .popup-circle { padding: 30px; }
  .popup-title { font-size: 20px; }
  .popup-subtitle { font-size: 12px; }

  .form-input {
    padding: 14px 14px 14px 45px;
    font-size: 14px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 16px 30px;
  }
}

/*brain10X*/
/* BrainTenX Events Section */
.events {
  padding: 50px 0 70px;
  background: #f9fbff;
}

/* override global flex container */
.events .container {
  display: block;
  text-align: center;
}

.events h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.events h2 span {
  color: #2563eb;
}

.events .lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #111827;
}

.events-description {
  max-width: 820px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
}

/* VIDEO FIX */
.video-wrapper {
  width: 100%;
  max-width: 900px;        /* optional */
  margin: auto;
  aspect-ratio: 16 / 9;   /* modern & clean */
  background: #000;
  z-index: 2;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
  

/* Responsive */
@media (max-width: 768px) {
  .events h2 {
    font-size: 2rem;
  }

  .events-description {
    font-size: 1rem;
    padding: 0 16px;
  }
}

/*indias memory test*/
    .imt-overview {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #03023b 0%, #764ba2 100%); /* Blue to Purple gradient */
    }

    .bg-pattern {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
      z-index: 0;
      pointer-events: none;
    }

    /*.floating-icons {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 1;
    }

    .float-icon {
      position: absolute;
      color: rgba(255, 255, 255, 0.2);
      font-size: 40px;
      animation: float 6s ease-in-out infinite;
    }

    .float-icon:nth-child(1) {
      top: 10%;
      left: 10%;
      animation-delay: 0s;
    }

    .float-icon:nth-child(2) {
      top: 60%;
      left: 85%;
      animation-delay: 1.5s;
    }

    .float-icon:nth-child(3) {
      top: 80%;
      left: 15%;
      animation-delay: 3s;
    }

    .float-icon:nth-child(4) {
      top: 30%;
      left: 80%;
      animation-delay: 4.5s;
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-20px);
      }
    }*/

    .hero-section {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 60px 20px;
      max-width: 900px;
      margin: 0 auto;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      color: rgb(128, 9, 9);
      padding: 12px 24px;
      border-radius: 30px;
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 1px;
      margin-bottom: 30px;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .hero-badge i {
      color: #ffd700;
    }

    .hero-title {
      font-size: 56px;
      font-weight: bold;
      color: white;
      margin-bottom: 20px;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      animation: fadeInUp 0.8s ease;
    }

    .hero-subtitle {
      font-size: 20px;
      color: rgba(255, 255, 255, 0.95);
      line-height: 1.6;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      animation: fadeInUp 1s ease;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .content-wrapper {
      position: relative;
      z-index: 2;
      max-width: 1400px;
      margin: 0 auto;
      padding: 40px 20px;
      margin-top: -150px;
    }

    .section-title {
      text-align: center;
      font-size: 36px;
      color: white;
      margin-bottom: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
    }

    .section-title i {
      color: #ffd700;
    }

    .levels-section {
      max-width: 1200px;
      margin: 0 auto;
    }

    .lcards-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
      padding: 20px 0;
    }

    .level-card {
      background: white;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 2px solid transparent;
      display: flex;
      flex-direction: column;
      animation: slideUp 0.6s ease forwards;
      opacity: 0;
    }

    .level-card:nth-child(1) {
      animation-delay: 0.1s;
    }

    .level-card:nth-child(2) {
      animation-delay: 0.2s;
    }

    .level-card:nth-child(3) {
      animation-delay: 0.3s;
    }

    @keyframes slideUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
      from {
        opacity: 0;
        transform: translateY(30px);
      }
    }

    .level-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 25px 60px rgba(102, 126, 234, 0.3);
      border-color: #667eea;
    }

    .card-image {
      position: relative;
      width: 100%;
      height: 220px;
      overflow: hidden;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      opacity: 0.9;
    }

    .level-card:hover .card-image img {
      transform: scale(1.15);
    }

    .card-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      color: #667eea;
      padding: 10px 20px;
      border-radius: 25px;
      font-weight: bold;
      font-size: 14px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      letter-spacing: 0.5px;
    }

    .card-content {
      padding: 30px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .card-title {
      font-size: 26px;
      font-weight: bold;
      color: #2d3748;
      margin-bottom: 15px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .card-desc {
      color: #4a5568;
      line-height: 1.7;
      margin-bottom: 25px;
      flex: 1;
      font-size: 15px;
    }

    .card-stats {
      display: flex;
      justify-content: space-between;
      gap: 15px;
      margin-bottom: 25px;
      padding: 20px 0;
      border-top: 2px solid #e2e8f0;
      border-bottom: 2px solid #e2e8f0;
    }

    .stat-item {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #2d3748;
      font-size: 14px;
      font-weight: 600;
    }

    .stat-item i {
      color: #667eea;
      font-size: 18px;
    }

    .card-button {
      width: 100%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border: none;
      padding: 16px 20px;
      border-radius: 14px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
      position: relative;
      overflow: hidden;
    }

    .card-button:before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s;
    }

    .card-button:hover:before {
      left: 100%;
    }

    .card-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
    }

    .card-button:active {
      transform: translateY(-1px);
    }

    @media (max-width: 768px) {
      .hero-title {
        font-size: 36px;
      }

      .hero-subtitle {
        font-size: 16px;
      }

      .section-title {
        font-size: 28px;
      }

      .lcards-container {
        grid-template-columns: 1fr;
        gap: 25px;
      }

      .card-title {
        font-size: 22px;
      }

      .card-stats {
        flex-direction: column;
        gap: 12px;
      }
    }